package antLogic;

/**
 * Created by IntelliJ IDEA.
 * User: Mark the intern
 * Date: 15-Jul-2007
 * Time: 1:28:31 PM
 */
public class PhysicalObject extends Thread {
    //This should probably be implemented as an interface since not all objects need to be a thread.

    Coordinate location;
    Integer objectId;
    Integer velocity;
    //Velocity is set in steps per second.

    public PhysicalObject(int objectId, int velocity)  {
        location = null;
        this.objectId = objectId;
        this.velocity = velocity;
    }

    public Integer getObjectId() {
        return objectId;
    }

    public void setLocation(Coordinate location) {
        this.location = location;
    }

    public Coordinate getLocation() {
        return location;
    }

    public Integer getVelocity() {
        return velocity;
    }
}
